Optimal. Leaf size=89 \[ -\frac{1}{2 x^2}-\frac{1}{2} \sqrt{\frac{1}{5} \left (9-4 \sqrt{5}\right )} \tanh ^{-1}\left (\sqrt{\frac{2}{3+\sqrt{5}}} x^2\right )+\frac{\left (3+\sqrt{5}\right )^{3/2} \tanh ^{-1}\left (\sqrt{\frac{1}{2} \left (3+\sqrt{5}\right )} x^2\right )}{4 \sqrt{10}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.156714, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.25 \[ -\frac{1}{2 x^2}-\frac{1}{2} \sqrt{\frac{1}{5} \left (9-4 \sqrt{5}\right )} \tanh ^{-1}\left (\sqrt{\frac{2}{3+\sqrt{5}}} x^2\right )+\frac{\left (3+\sqrt{5}\right )^{3/2} \tanh ^{-1}\left (\sqrt{\frac{1}{2} \left (3+\sqrt{5}\right )} x^2\right )}{4 \sqrt{10}} \]
Antiderivative was successfully verified.
[In] Int[1/(x^3*(1 - 3*x^4 + x^8)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 20.0375, size = 104, normalized size = 1.17 \[ \frac{\sqrt{2} \left (\frac{1}{2} + \frac{3 \sqrt{5}}{10}\right ) \operatorname{atanh}{\left (\frac{\sqrt{2} x^{2}}{\sqrt{- \sqrt{5} + 3}} \right )}}{2 \sqrt{- \sqrt{5} + 3}} + \frac{\sqrt{2} \left (- \frac{3 \sqrt{5}}{10} + \frac{1}{2}\right ) \operatorname{atanh}{\left (\frac{\sqrt{2} x^{2}}{\sqrt{\sqrt{5} + 3}} \right )}}{2 \sqrt{\sqrt{5} + 3}} - \frac{1}{2 x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(1/x**3/(x**8-3*x**4+1),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.105769, size = 103, normalized size = 1.16 \[ \frac{1}{20} \left (-\frac{10}{x^2}-\left (5+2 \sqrt{5}\right ) \log \left (-2 x^2+\sqrt{5}-1\right )+\left (5-2 \sqrt{5}\right ) \log \left (-2 x^2+\sqrt{5}+1\right )+\left (5+2 \sqrt{5}\right ) \log \left (2 x^2+\sqrt{5}-1\right )+\left (2 \sqrt{5}-5\right ) \log \left (2 x^2+\sqrt{5}+1\right )\right ) \]
Antiderivative was successfully verified.
[In] Integrate[1/(x^3*(1 - 3*x^4 + x^8)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.013, size = 67, normalized size = 0.8 \[ -{\frac{1}{2\,{x}^{2}}}-{\frac{\ln \left ({x}^{4}+{x}^{2}-1 \right ) }{4}}+{\frac{\sqrt{5}}{5}{\it Artanh} \left ({\frac{ \left ( 2\,{x}^{2}+1 \right ) \sqrt{5}}{5}} \right ) }+{\frac{\ln \left ({x}^{4}-{x}^{2}-1 \right ) }{4}}+{\frac{\sqrt{5}}{5}{\it Artanh} \left ({\frac{ \left ( 2\,{x}^{2}-1 \right ) \sqrt{5}}{5}} \right ) } \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(1/x^3/(x^8-3*x^4+1),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.825652, size = 124, normalized size = 1.39 \[ -\frac{1}{10} \, \sqrt{5} \log \left (\frac{2 \, x^{2} - \sqrt{5} + 1}{2 \, x^{2} + \sqrt{5} + 1}\right ) - \frac{1}{10} \, \sqrt{5} \log \left (\frac{2 \, x^{2} - \sqrt{5} - 1}{2 \, x^{2} + \sqrt{5} - 1}\right ) - \frac{1}{2 \, x^{2}} - \frac{1}{4} \, \log \left (x^{4} + x^{2} - 1\right ) + \frac{1}{4} \, \log \left (x^{4} - x^{2} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((x^8 - 3*x^4 + 1)*x^3),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.311054, size = 177, normalized size = 1.99 \[ -\frac{\sqrt{5}{\left (\sqrt{5} x^{2} \log \left (x^{4} + x^{2} - 1\right ) - \sqrt{5} x^{2} \log \left (x^{4} - x^{2} - 1\right ) - 2 \, x^{2} \log \left (\frac{10 \, x^{2} + \sqrt{5}{\left (2 \, x^{4} + 2 \, x^{2} + 3\right )} + 5}{x^{4} + x^{2} - 1}\right ) - 2 \, x^{2} \log \left (\frac{10 \, x^{2} + \sqrt{5}{\left (2 \, x^{4} - 2 \, x^{2} + 3\right )} - 5}{x^{4} - x^{2} - 1}\right ) + 2 \, \sqrt{5}\right )}}{20 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((x^8 - 3*x^4 + 1)*x^3),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.85077, size = 172, normalized size = 1.93 \[ \left (\frac{\sqrt{5}}{10} + \frac{1}{4}\right ) \log{\left (x^{2} - \frac{123}{8} - \frac{123 \sqrt{5}}{20} + 280 \left (\frac{\sqrt{5}}{10} + \frac{1}{4}\right )^{3} \right )} + \left (- \frac{\sqrt{5}}{10} + \frac{1}{4}\right ) \log{\left (x^{2} - \frac{123}{8} + 280 \left (- \frac{\sqrt{5}}{10} + \frac{1}{4}\right )^{3} + \frac{123 \sqrt{5}}{20} \right )} + \left (- \frac{1}{4} + \frac{\sqrt{5}}{10}\right ) \log{\left (x^{2} - \frac{123 \sqrt{5}}{20} + 280 \left (- \frac{1}{4} + \frac{\sqrt{5}}{10}\right )^{3} + \frac{123}{8} \right )} + \left (- \frac{1}{4} - \frac{\sqrt{5}}{10}\right ) \log{\left (x^{2} + 280 \left (- \frac{1}{4} - \frac{\sqrt{5}}{10}\right )^{3} + \frac{123 \sqrt{5}}{20} + \frac{123}{8} \right )} - \frac{1}{2 x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/x**3/(x**8-3*x**4+1),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.296997, size = 131, normalized size = 1.47 \[ -\frac{1}{10} \, \sqrt{5}{\rm ln}\left (\frac{{\left | 2 \, x^{2} - \sqrt{5} + 1 \right |}}{2 \, x^{2} + \sqrt{5} + 1}\right ) - \frac{1}{10} \, \sqrt{5}{\rm ln}\left (\frac{{\left | 2 \, x^{2} - \sqrt{5} - 1 \right |}}{{\left | 2 \, x^{2} + \sqrt{5} - 1 \right |}}\right ) - \frac{1}{2 \, x^{2}} - \frac{1}{4} \,{\rm ln}\left ({\left | x^{4} + x^{2} - 1 \right |}\right ) + \frac{1}{4} \,{\rm ln}\left ({\left | x^{4} - x^{2} - 1 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(1/((x^8 - 3*x^4 + 1)*x^3),x, algorithm="giac")
[Out]